package com.cjm.one.goods.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cjm.one.common.result.Result;
import com.cjm.one.model.goods.entity.GoodsCategory;
import com.cjm.one.model.goods.vo.GoodsCategoryVo;

import java.util.List;

/**
* @author 29289
* @description 针对表【goods_category(商品分类)】的数据库操作Service
* @createDate 2024-09-05 16:07:00
*/
public interface GoodsCategoryService extends IService<GoodsCategory> {

    List<GoodsCategoryVo> pageCategory( String searchKey);

    Boolean removeGoodsCategoryById(Long id);

    List<GoodsCategory> selectToParentId(Long parentId);

    Result<List<GoodsCategory>> listLimit10(Integer size);
}
